package main

import (
	"github.com/hu17889/go_spider/core/common/request"
	"github.com/hu17889/go_spider/core/spider"
)

func assertErr(err error) {
	if err != nil {
		panic(err)
	}
}

func main() {
	req := request.NewRequest("https://browser.geekbench.com/processor-benchmarks/", "html", "GeekBenchHomePage", "GET", "", nil, nil, nil, nil)
	spider.NewSpider(NewGeekBenchProcessor(), "GeekBench").GetByRequest(req)
}
